package com.lili.operate.client;

import com.lili.model.operate.DistributionGoods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient("operate-server")
public interface Distribution {
    @PostMapping("/distribution/goods/query")
    public List<DistributionGoods> query(@RequestBody Map map);
}
